Skip to content

perf: extract AOC ACL check into MATERIALIZED CTE for data value export [DHIS2-21497] (2.43)#23909

Merged
jason-p-pickering merged 2 commits into
2.43from
perf/agg-data-export-aoc-cte-43
May 14, 2026
Merged

perf: extract AOC ACL check into MATERIALIZED CTE for data value export [DHIS2-21497] (2.43)#23909
jason-p-pickering merged 2 commits into
2.43from
perf/agg-data-export-aoc-cte-43

Conversation

@jason-p-pickering

Copy link
Copy Markdown
Contributor

Backport of #23896 and #23895

jason-p-pickering and others added 2 commits May 14, 2026 08:42
…scendants [DHIS2-21490] (#23895)

* perf: add Gatling performance test for aggregate data export with descendants [DHIS2-21490]

Adds AggregateDataExportPerformanceTest covering GET /api/dataValueSets/ with
children=true against the Sierra Leone demo database — the exact scenario that
exposed the O(n²) org unit descendants cross-join fixed in DHIS2-21490.

Uses Sierra Leone root org unit and ART monthly summary dataset with a rolling
two-year date window, 5 concurrent users over 10 seconds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add aggregate data export with descendats performance test

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@jason-p-pickering
jason-p-pickering requested review from a team and vietnguyen May 14, 2026 06:45
@sonarqubecloud

Copy link
Copy Markdown

@jason-p-pickering
jason-p-pickering merged commit 216406a into 2.43 May 14, 2026
16 checks passed
@jason-p-pickering
jason-p-pickering deleted the perf/agg-data-export-aoc-cte-43 branch May 14, 2026 07:36
@jbee jbee changed the title Perf/agg data export aoc cte 43 perf: extract AOC ACL check into MATERIALIZED CTE for data value export [DHIS2-21497] (2.43) Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants